﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Dog:Animal,ISwin
    {
        public override void Eat()
        {
            Console.WriteLine("我会吃狗粮");
        }
        public void Swin()
        {

            Console.WriteLine("我还会游泳！");
        }
    }
}
